package com.boco.modules.fdoc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.boco.modules.fdoc.dao.OutpatientStopDao;
import com.boco.modules.fdoc.model.BizOutpatientStopEntity;
import com.boco.modules.fdoc.service.OutpatientStopService;
import com.boco.modules.fdoc.vo.OutpatientStopVo;

@Service
public class OutpatientStopServiceImpl implements OutpatientStopService {

	@Resource
	OutpatientStopDao stopDao;
	
	@Override
	public List<OutpatientStopVo> getStopList(OutpatientStopVo stopVo) {
		return stopDao.getStopList(stopVo);
	}

	@Override
	public int getCount(OutpatientStopVo stopVo) {
		return stopDao.getCount(stopVo);
	}

	@Override
	public int addStop(BizOutpatientStopEntity stopEntity) {
		return stopDao.addStop(stopEntity);
	}

	@Override
	public int deleteStop(Integer id) {
		return stopDao.deleteStop(id);
	}

	@Override
	public BizOutpatientStopEntity getStopbyId(Integer id) {
		return stopDao.getStopbyId(id);
	}

	@Override
	public int updateStop(BizOutpatientStopEntity stopEntity) {
		return stopDao.updateStop(stopEntity);
	}

}
